﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Silverlight_Client.Commands_Utils;

namespace Silverlight_Client.ViewModels
{
    public class SelectedFeedDetailsVM : IViewModelBase
    {
        #region Fields

        private String _authors, _category, _publicationdate, _title;

        #endregion

        #region Properties

        public String Authors
        {
            get { return _authors; }
            set
            {
                if (_authors == value) return;
                _authors = value;
                RaisePropertyChanged("Authors");
            }
        }
        public String Category
        {
            get { return _category; }
            set
            {
                if (_category == value) return;
                _category = value;
                RaisePropertyChanged("Category");
            }
        }
        public String PublicationDate
        {
            get { return _publicationdate; }
            set
            {
                if (_publicationdate == value) return;
                _publicationdate = value;
                RaisePropertyChanged("PublicationDate");
            }
        }
        public String Title
        {
            get { return _title; }
            set
            {
                if (_title == value) return;
                _title = value;
                RaisePropertyChanged("Title");
            }
        }

        #endregion

        #region Commands
        
        #endregion

        #region Commands Functions
        
        #endregion

        #region Functions
        
        #endregion

        #region Ctor

        public SelectedFeedDetailsVM(String authors, String category, String publicationdate, String title)
        {
            _authors = authors;
            _category = category;
            _publicationdate = publicationdate;
            _title = title;
        }
        
        #endregion
    }
}
